<template>
  <div class="re_item">
    <div class="img">
      <img :src="img" alt="" />
    </div>
    <div class="info">
      <div class="title">{{ title }}</div>
      <div class="des">{{ des }}</div>
      <div class="btn">
        <span class="count mr"
          ><i class="font_family icon-shengyin_o"></i>{{ countInfo.trackCount }}</span
        >
        <span class="count"
          ><i class="font_family icon-Headset-2"></i>{{
            countInfo.playCount | getCount
          }}</span
        >
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    id: {
      type: Number,
    },
    title: {
      type: String,
    },
    des: {
      type: String,
    },
    countInfo: {
      type: Object,
    },
    img: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.re_item {
  padding: 15px 0;
  display: flex;
  border-bottom: 1px solid #f3f4f5;
  .img {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    background: url(../../../assets/icon/common/img_load.png) no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    > img {
      width: 100%;
      height: 100%;
    }
  }
  .info {
    width: 280px;
    padding-left: 15px;
    padding-right:17px ;
    .title {
      font-size: 16px;
      color: #333;
      line-height: 1.38;
      display: -webkit-box;
      overflow: hidden;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .des {
      margin: 5px 0 7px;
      font-size: 13px;
      line-height: 1.38;
      color: #999;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .btn{
        font-size: 11px;
    line-height: 1.45;
    white-space: nowrap;
    color: #999;
    span{
        margin-right: 12px;
        i{
            margin-right:4px ;
        }
    }
    
    }
  }
}
</style>

